package org.swingplus.core.annotation.widget;

import org.swingplus.core.constant.theme.Theme;

import java.awt.Cursor;
import java.awt.Image;
import java.awt.PopupMenu;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ ElementType.TYPE, ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface TrayIcon {

	Theme theme() default Theme.WINDOWS;

	// 标题栏
	boolean undecorated() default true;

	// 鼠标形状
	int cursor() default Cursor.DEFAULT_CURSOR;

	String text() default "";

	int fontSize() default 5;

	int[] foreground() default { 0, 0, 0 };

	String image() default "";

	int width() default 20;

	int height() default 20;

	String toolTip() default "";
//	     PopupMenu popup()  default  "";
	boolean autosize() default true;

}
